#ifndef __INFRARED_H
#define __INFRARED_H

#include "stm32f10x.h"                  // Device header

#define	Infrared_Clock					RCC_APB2Periph_GPIOB
#define Infrared_Port						GPIOB
#define Infrared_Pin_Center			GPIO_Pin_12
#define Infrared_Pin_Left				GPIO_Pin_13
#define Infrared_Pin_Right			GPIO_Pin_14

void Infrared_Init(void);
uint8_t Infrared_GetData(uint16_t gpio_pin);

#endif
